package activities;

import com.androidmodule.onthego.R;

import fragments.FragmentReservaParticular;

import android.content.res.Configuration;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;

public class ActivityReservaParticular2 extends FragmentActivity{
	  @Override
	    protected void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        this.setContentView(R.layout.layout_activity_reserva_particular);

	        if (getResources().getConfiguration().orientation
	                == Configuration.ORIENTATION_LANDSCAPE) {
	            // If the screen is now in landscape mode, we can show the
	            // dialog in-line with the list so we don't need this activity.
	            finish();
	            return;
	        }

	        if (savedInstanceState == null) {
	            // During initial setup, plug in the details fragment.
	            FragmentReservaParticular detalleReserva = new FragmentReservaParticular();
	            detalleReserva.setArguments(getIntent().getExtras());
	            getSupportFragmentManager().beginTransaction().add(R.id.frmContenedorReservaParticularAct, detalleReserva).commit();
	        }
	    }


}
